@import '../../res/theme/xxhz.scss';

.quickRoot {
  background-image: url(https://resource.ivcheng.com/resources/images/quickRoot-bk.jpg);
  border-radius: 30px;
  overflow: hidden;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-color: #fd0541;

  .inline {
    display: inline;
  }

  .title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px 5px;

    .title {
      font-size: 34px;
      font-weight: bold;
      color: white;

      .img {
        width: 150px;
        height: 41px;
        display: block;
      }
    }

    .more-box {
      font-size: 26px;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .content {
    padding: 10px 20px 20px;

    .item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: white;
      padding: 20px;
      border-radius: 20px;
      margin-top: 20px;

      .image, .taro-img {
        flex-shrink: 0;
        width: 275px;
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        height: 165px;

        .img {
          width: 275px;
          height: 165px;
        }
      }

      .item-right {
        min-height: 165px;
        padding-left: 20px;
        width: calc(100% - 295px);

        .time-info {
          font-size: 16px;
          white-space: nowrap;
        }
      }

      .info-box {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .info-left {
          width: calc(100% - 72px);
        }
      }

      .item-title {
        font-size: 26px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 4px;
      }

      .process {
        width: 100%;
      }

      .price-box {
        width: 100%;
        display: flex;
        justify-content: space-between;
      }

      .symbol {
        font-size: 20px;
      }

      .price {
        font-size: 36px;
        padding: 0 10px 0 2px;
      }

      .symbol, .price {
        color: $priceColor;
        font-family: Avenir;
      }

      .buy {
        width: 72px;
        height: 72px;
        background-color: #ff3e01;
        color: white;
        font-size: 24px;
        line-height: 72px;
        text-align: center;
        border-radius: 36px;
      }

      .fee-into {
        width: 92px;
        height: 80px;
        background-color: #ff3e01;
        color: white;
        font-size: 28px;
        text-align: center;
        border-radius: 50%;
        white-space: normal;
        word-wrap: break-word;
        word-break: break-all;
        padding: 6px;
      }
    }

    .cover-box {
      .info {
        height: 100px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        overflow: hidden;
        background: #fcf08e;

        .title {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          padding: 10px 20px 8px;
          font-size: 22px;
        }

        .time-box {
          display: flex;
          padding: 0 20px;
          align-items: center;
          justify-content: space-between;
          font-size: 18px;

          .timer {
            display: flex;
          }

          .process {
            width: 50%;
            font-size: 16px;

            .wx-progress-inner-bar {
              border-radius: 8px;
            }
          }
        }
      }

      .cover {
        position: relative;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        overflow: hidden;
        width: 100%;
        height: 290px;
      }
    }

    .label {
      position: absolute;
      width: 118px;
      height: 45px;
      top: 0;
      left: 0;
      border-top-right-radius: 23px;
      border-bottom-right-radius: 23px;
      background: #ffac04;
      color: white;
      font-size: 22px;
      text-align: center;
      line-height: 45px;
    }

    .secondary {
      background: #ff8b00;
      width: 100px;
    }

    .third {
      background-color: #ff6021;
      width: 100px;
    }

    .cover-info {
      width: 100%;
    }
  }
}
